import {createApp, defineComponent} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
require('./assets/icon/icon.js');

// @ts-ignore
import Layui from '@layui/layui-vue'
import '@layui/layui-vue/lib/index.css'


var app=createApp(App);
Object.keys(ElementPlusIconsVue).forEach(function (key) {
    // @ts-ignore
    app.component(ElementPlusIconsVue[key].name, ElementPlusIconsVue[key])
})
createApp(App).use(store).use(router).use(ElementPlus).use(Layui).mount('#app')
